<?php
namespace app\model;

use support\Model;

class OrderItemModel extends Model
{
    protected $table = 'order_items';
    
    protected $fillable = ['order_id', 'product_id', 'product_sku_id', 'product_name', 'product_image', 'product_price', 'quantity', 'total_amount', 'sku_properties', 'created_at', 'updated_at'];
    
    protected $hidden = [''];
    
    protected $casts = array (
  'sku_properties' => 'array',
  'created_at' => 'datetime',
  'updated_at' => 'datetime',
);
} 